/**
 * @date 2006-7-24 12:58:05
 *
 */
package org.nanhill.moo.web.form;

import java.util.Collection;

import org.nanhill.moo.domain.Category;
import org.nanhill.moo.domain.Cost;

/**
 * @author alin [xalinx at gmail dot com]
 * 
 */
public class CreateFavorForm {

	private String title;

	private String content;

	private int cost;

	private long category;

	private Collection<Category> categories;

	private Cost[] costs;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public long getCategory() {
		return category;
	}

	public void setCategory(long categoryId) {
		this.category = categoryId;
	}

	public int getCost() {
		return cost;
	}

	public void setCost(int costId) {
		this.cost = costId;
	}

	public Collection<Category> getCategories() {
		return categories;
	}

	public void setCategories(Collection<Category> categories) {
		this.categories = categories;
	}

	public Cost[] getCosts() {
		return costs;
	}

	public void setCosts(Cost[] allCs) {
		this.costs = allCs;
	}

	public static CreateFavorForm getInstance() {
		return new CreateFavorForm();
	}

}
